module.exports = {
  call: (method) => {
    return new Promise((resolve, reject) => {
      wx[method]({
        lang: "zh_CN",
        success: (res) => {
          resolve(res)
        },
        fail: (error) => {
          reject(error)
        }
      })
    })
  }
}